package com.xiaoyushu.oss.biz.enums;

import com.xiaoyushu.framework.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface {

    //----- 通常异常状态码
    SYSTEM_ERROR("AUTH-10000", "出错啦，后台小哥正在努力修复中..."),
        PARAM_NOT_VALID("AUTH-10001", "参数错误"),
            ;
    //异常码
    private final String errorCode;

    //异常信息
    private final String errorMessage;
}
